﻿using AutoMapper;
using System.Diagnostics;
using Traceability.Commont.Domains;
using Traceability.Commont.Domains.AnimalsDomainFiles;
using Traceability.Commont.Domains.BatchManagementFiles;
using Traceability.Commont.Domains.ScratchTheFat;
using Traceability.Commont.DTOs.UsersFile;
using U.Enterprise.Api.Applications.AdmissionRegistrationFile;
using U.Enterprise.Api.Applications.BatchManagements;
using U.Enterprise.Api.Applications.Client;
using U.Enterprise.Api.Applications.EndingOnly;
using U.Enterprise.Api.Applications.EnterpriseFiles;
using U.Enterprise.Api.Applications.Scalesetting;

namespace U.Enterprise.Api.Commonts
{
    public class AutoMapperHelper: Profile
    {
        public AutoMapperHelper()
        {
            CreateMap<EnterpriseCreateCommand, Enterprises>().ReverseMap();
            CreateMap<Clients, ClientCreateCommand>().ReverseMap();
            CreateMap<Approach, ApproachCreateCommand>().ReverseMap();
            CreateMap<ScaleType, ScaleTypeCreateCommand>().ReverseMap();
            CreateMap<LiveAnimalweighing, LiveAnimalWeighingCreateCommand>().ReverseMap();
            CreateMap<TareSet, TareSetCreateCommand>().ReverseMap();
            CreateMap<ProductionScratches, ProductionScratchesCreateCommond>().ReverseMap();
        }
    }
}
